<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../head.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- 让页面中可以使用相对路径，添加此标签 -->
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>博客编辑</title>
</head>
<body>
	<form action="/blog/save" method="post" enctype="multipart/form-data">
		<input type="hidden" name="blog.id" value="${blog.id }"> <input
			type="text" name="blog.title" value="${blog.title}">
		${(titleMsg)} <br>
		<textarea rows="20" cols="60" name="blog.content">${blog.content}</textarea>
		<br> <input type="submit" value="确认"> <br> <input
			type="file" name="image">
	</form>
</body>
</html>